import { Router } from 'vue-router'
import { appStore } from '@/store'

export const useRouterAnimate = (router: Router) => {
  router.beforeEach(() => {
    appStore().changeLoading(true)
  })
}
